package com.bonuo.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ClientAnalysis {
    /** 客户分析表 表格 */
    private Integer id;
    private Integer userId;
    private Integer planId;
    private String schoolName;
    private String basis;
    private Integer type;
    private Integer delFlag;
    private Integer flag;
    private String remark;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private String createBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    private String updateBy;

    /** 当前用户部门ID */
    private Integer deptId;
    /** 用于接收该用户及下级用户ID（用户ID）  */
    private List<String> childrenOrMine;

    /** 排序 */
    private String sort;
}
